package my.diplom.dao;

import my.diplom.entity.Message;
import my.diplom.entity.Order;

import java.util.List;

/**
 * Created by IntelliJ IDEA.
 * User: gb
 * Date: 13.07.2009
 * Time: 23:49:10
 * To change this template use File | Settings | File Templates.
 */
public interface IOrderDAO {

    void create(Order order);
	void update(Order order);
	Order getById(Long orderId);

	List<Order> getAll();
    List<Order> getByLogin(String login);
	void delete(Order order);

}
